package cd.cdyb.sms.constant;
/**
 * Redis常量
 * @author Leon
 * 2017年5月18日 下午5:09:43
 */
public class RedisConstant {
	/**设备前缀*/
    public static final String REDIS_HASH_ID_HEAD = "uq";
    
    public static final String REDIS_TER_LAST_POS = "tLP";
    public static final String REDIS_TER_LAST_BATTERY = "tLB";
    public static final String REDIS_TER_ROUTE_KEY = "tRK";
    public static final String REDIS_TER_ROUTE_KEY_MANAGER = "tMA";
    public static final String REDIS_TER_PKG_DT = "tLT";
    public static final String REDIS_TER_SYNC_TIME = "tST";
    public static final String REDIS_TER_SYNC_VALUE = "tSV";
    public static final String REDIS_TER_NEW_SOFTWAVE = "tNS";
    /**最后状态*/
    public static final String REDIS_TER_LAST_STATUS = "tLS";
    
    /**用户*/
    public static final String REDIS_ACCOUNT_USER = "USER";
    public static final String REDIS_ACCOUNT_KEY = "USER";

    /**用户调度还车标志*/
    public static final String REDIS_ACCOUNT_USER_DISPATCH = "USERDISPATCH";
    /**支付费用结束订单流水号*/
    public static final String REDIS_TER_PAY_FINISHORDER_SERNO = "PAYORDER";

    /**
     * 车辆状态查询
     */
    public static final String REDIS_MACHINE_STATUS_QUERY = "MACHINE_STATUS_QUERY";

    /**
     * 头盔状态
     */
    public static final String REDIS_HELMET_STATUS_QUERY = "HELMET_STATUS_QUERY";


    /******************************业务信息redis存储key定义*********************************************/
    /**电子围栏*/
    public static final String GEO_KEY_PREFIX="GEO#";
    /**计费规则*/
    public static final String FEERULE_KEY_PREFIX="FEERULE#";
    /**系统配置*/
    public static final String CONFIG_KEY_PREFIX="CONFIG#";
    /**微信支付配置*/
    public static final String WXPAY_KEY_PREFIX="WXPAY#";

    /**
     * 微信账套配置
     */
    public static final String WXPAY_PAYMENT_MANAGEMENT="PAYMENTMANAGEMENT#";

    /**小程序配置*/
    public static final String MPCONFIG_KEY_PREFIX="MPCONFIG#";
    /**短信配置*/
    public static final String SMSCONFIG_KEY_PREFIX="SMSCONFIG#";
    /**里程缓存*/
    public static final String MILEAGE_KEY_PREFIX="MILEAGE#";

    /**
     * 按分钟计算费用误差
     */
    public  static final  String FEE_DEVIATION_MAP = "FEE:DEVIATION:MAP:";
    /**
     * 发送订阅消息 accessToken
     */
    public static final String SEND_SUB_MESSAGE_ACCESS_TOKEN="MESSAGE:ACCESS:TOKEN";
}
